<script setup lang="ts">
import utils from '@/utils'
</script>

<template>
  <div class="flex flex-col items-center justify-center w-screen h-screen bg-gray-700">
    <img src="/images/login.jpg" class="object-cover w-40 h-40 mb-5 border-8 border-white rounded-full" />
    <div>
      <router-link :to="{ name: 'admin.home' }" class="hd-button">后台管理</router-link>
      <router-link v-if="!utils.user.isLogin()" :to="{ name: 'login' }" class="ml-3 hd-button hd-danger"
        >用户登录</router-link
      >
    </div>
    <!-- <div class="mt-6 font-mono text-xs text-gray-300 drop-shadow-md">每晚八点直播，欢迎来共同学习技术</div> -->
  </div>
</template>
